package com.bosssoft.goods.domain.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 设置第三级商品分类与品牌绑定
 * @author Fang_Sir
 * @date 2021-04-15
 */
@Getter
@Setter
@ToString
public class SetCategoryBrandVO {
    @ApiModelProperty(value = "第三级分类ID")
    @NotNull(message = "第三级分类ID不得为空")
    @JsonProperty("cat_id")
    private Integer catId;

    @ApiModelProperty(value = "品牌ID")
    @NotNull(message = "品牌ID不得为空")
    @JsonProperty("brand_id")
    private Integer brandId;
}
